package com.ygs.secs.model;

import java.io.Serializable;

/**
 * 岗位表
 */
public class EnterpriseJob implements Serializable {
    //岗位ID
    private String jobid;

    //岗位名
    private String jobname;

    //需求人数
    private String needpeople;

    //薪资
    private String jobsalary;

    //学历要求
    private String educationrequirements;

    //公司福利 如五险一金
    private String corporatebenefits;

    //工作经验
    private String workingexperience;

    //岗位介绍
    private String descriptionofjob;

    //岗位要求
    private String jobrequirement;

    //工作地点
    private String workplace;

    //发布时间
    private String pushtime;

    //岗位类型
    private JobType jobType;

    //招聘状态
    private String recruitstatus;

    //岗位所属企业
    private Enterprise enterprise;

    private static final long serialVersionUID = 1L;

    public String getJobid() {
        return jobid;
    }

    public void setJobid(String jobid) {
        this.jobid = jobid;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public String getNeedpeople() {
        return needpeople;
    }

    public void setNeedpeople(String needpeople) {
        this.needpeople = needpeople;
    }

    public String getJobsalary() {
        return jobsalary;
    }

    public void setJobsalary(String jobsalary) {
        this.jobsalary = jobsalary;
    }

    public String getEducationrequirements() {
        return educationrequirements;
    }

    public void setEducationrequirements(String educationrequirements) {
        this.educationrequirements = educationrequirements;
    }

    public String getCorporatebenefits() {
        return corporatebenefits;
    }

    public void setCorporatebenefits(String corporatebenefits) {
        this.corporatebenefits = corporatebenefits;
    }

    public String getWorkingexperience() {
        return workingexperience;
    }

    public void setWorkingexperience(String workingexperience) {
        this.workingexperience = workingexperience;
    }

    public String getDescriptionofjob() {
        return descriptionofjob;
    }

    public void setDescriptionofjob(String descriptionofjob) {
        this.descriptionofjob = descriptionofjob;
    }

    public String getJobrequirement() {
        return jobrequirement;
    }

    public void setJobrequirement(String jobrequirement) {
        this.jobrequirement = jobrequirement;
    }

    public String getWorkplace() {
        return workplace;
    }

    public void setWorkplace(String workplace) {
        this.workplace = workplace;
    }

    public String getPushtime() {
        return pushtime;
    }

    public void setPushtime(String pushtime) {
        this.pushtime = pushtime;
    }

    public JobType getJobType() {
        return jobType;
    }

    public void setJobType(JobType jobType) {
        this.jobType = jobType;
    }

    public Enterprise getEnterprise() {
        return enterprise;
    }

    public void setEnterprise(Enterprise enterprise) {
        this.enterprise = enterprise;
    }

    public String getRecruitstatus() {
        return recruitstatus;
    }

    public void setRecruitstatus(String recruitstatus) {
        this.recruitstatus = recruitstatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", jobid=").append(jobid);
        sb.append(", jobname=").append(jobname);
        sb.append(", needpeople=").append(needpeople);
        sb.append(", jobsalary=").append(jobsalary);
        sb.append(", educationrequirements=").append(educationrequirements);
        sb.append(", corporatebenefits=").append(corporatebenefits);
        sb.append(", workingexperience=").append(workingexperience);
        sb.append(", descriptionofjob=").append(descriptionofjob);
        sb.append(", jobrequirement=").append(jobrequirement);
        sb.append(", workplace=").append(workplace);
        sb.append(", pushtime=").append(pushtime);
        sb.append(", typeid=").append(jobType.getTypeid());
        sb.append(", recruitstatus=").append(recruitstatus);
        sb.append(", enterpriseid=").append(enterprise.getEnterpriseid());
        sb.append("]");
        return sb.toString();
    }
}